//
//  BMTabBar.m
//  BMProject
//
//  Created by chris on 15/10/12.
//  Copyright © 2015年 MengHuan. All rights reserved.
//

#import "BMTabBar.h"
//#import "HomeViewController.h"
//#import "SecurityViewController.h"
//#import "FoundViewController.h"
//#import "MineViewController.h"
@interface BMTabBar ()

@end

@implementation BMTabBar

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    BaseViewController *controller1=[[BaseViewController alloc] init];
    controller1.view.backgroundColor = [UIColor whiteColor];
    MainNavViewController *nav1 = [[MainNavViewController alloc] initWithRootViewController:controller1];
    
    BaseViewController *controller2=[[BaseViewController alloc] init];
    controller2.view.backgroundColor = [UIColor whiteColor];
    MainNavViewController *nav2 = [[MainNavViewController alloc] initWithRootViewController:controller2];
    
    BaseViewController *controller3=[[BaseViewController alloc] init];
    controller3.view.backgroundColor = [UIColor whiteColor];
    MainNavViewController *nav3 = [[MainNavViewController alloc] initWithRootViewController:controller3];
    
    BaseViewController *controller4=[[BaseViewController alloc] init];
    controller4.view.backgroundColor = [UIColor whiteColor];
    MainNavViewController *nav4 = [[MainNavViewController alloc] initWithRootViewController:controller4];
    
    NSArray *controllers=[[NSArray alloc] initWithObjects:nav1,nav2, nav3, nav4, nil];
    self.viewControllers = controllers;
    
    self.tabBar.tintColor = [UIColor whiteColor];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
